<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>99乘法表</title>
    <script>
        for(var i=1;i<10;i++){
            for(var j=1;j<=i;j++){
                var res = j*i;
                window.document.write('<span>'+j+'x'+i+'='+res+' '+'</span>')
            }
            window.document.write("<br/>")
        }
    </script>
    <style>
        span{
            border: 2px solid skyblue;
            background-color: #ffff55;
            line-height: 40px;
            width: 80px;
            text-align: center;
            display: inline-block;
            box-sizing: border-box;
            margin: 3px;
        }
    </style>
</head>
<body>
    
</body>
</html>